package com.haiheng.voiceandbook.common

import android.annotation.SuppressLint
import android.os.Parcelable
import com.alibaba.fastjson.JSONObject
import kotlinx.android.parcel.Parcelize

@SuppressLint("ParcelCreator")//
@Parcelize//

data class BookDetailDataDto(var code: Int,
                             var data: BookDetailInfoDto) : Parcelable


@SuppressLint("ParcelCreator")
@Parcelize//
data class BookDetailInfoDto(var author: String,
                             var bookId: String,
                             var bookName: String,
                             var bookType: String,
                             var coverImg: String,
                             var fileMd5String: String,
                             var path: String,
                             var publisher: String, var summary:String,var fileLength:Long,var directory:String) : Parcelable